home *** CD-ROM | disk | FTP | other *** search
- #--------------------------------------------------------------------------#
- # #
- # #
- # ------------ Bit-Bucket Software <no-Inc> #
- # \ 10001101 / Writers and Distributors of #
- # \ 011110 / No-Cost<no-tm> Software. #
- # \ 1011 / #
- # ------ KopyRong (K) 1987. ALL RIGHTS REVERSED. #
- # #
- # #
- # Makefile for BinkleyTerm Version 1.20 #
- # #
- # #
- # This software package is being distributed WITH FULL SOURCE CODE #
- # with the following conditions: 1) If anything awful happens #
- # because you use it (or don't use it), you accept full #
- # responsibility; 2) you don't start making tons of voice calls to #
- # the authors to complain or make suggestions about enhancements, #
- # useful or otherwise; 3) you do not reuse this code in commercial #
- # products without specific permission to do so from the authors; #
- # 4) If you find any problems you send fixes to the authors for #
- # inclusion in updates; 5) You find some way to express your #
- # appreciation for this method of distribution, either by writing #
- # code or application notes, or just sending along a "Thank You" #
- # message. #
- # #
- # There is copyrighted code in this product. We either wrote it #
- # ourselves or got permission to use it. Please don't force us to #
- # pay a lawyer -- have some respect for our motives and don't abuse #
- # this "license". #
- # #
- # #
- #--------------------------------------------------------------------------#
-
- #
- # Default C Compiler flags:
- # Compile only, Small Model, Define "BINKLEY", ignore aliasing,
- # Optimize for space, Pack structures, No stack checking,
- # Include CodeView symbols.
- #
- CFLAGS = -c -AS -DBINKLEY -Oas -Gs -Zp -Zi
-
- #
- # Object files that MSC (4.0 or 5.0) is responsible for generating:
- #
-
- # First those for the main BinkleyTerm module
- #
- COBJS = bt.obj btconfig.obj timer.obj misc.obj b_help.obj \
- mdm_proc.obj b_script.obj nodeproc.obj f_send.obj \
- f_recv.obj b_bbs.obj b_session.obj \
- b_yoohoo.obj b_wazoo.obj b_wzsend.obj \
- ftsc.obj mailer.obj cdog.obj sched.obj fossil.obj \
- b_passwo.obj b_frproc.obj xfermdm7.obj recvmdm7.obj \
- zvars.obj zreceive.obj zsend.obj zmisc.obj
-
- # Next those for BTCTL, the program that makes a dummy OMMM CTL file
- #
- COBJ1 = btctl.obj
-
- #
- # Object files that MASM 4.0 is responsible for generating
- #
- MOBJS = opus_asm.obj kbd_asm.obj bink_asm.obj \
- dostime.obj crc_asm.obj
-
- #
- # Dependency list for regular and debug version, and LINK
- # command lines
- #
-
- all: bt.exe btctl.exe
-
- bt.exe: $(COBJS) $(MOBJS)
- LINK /EXEPACK $(COBJS) $(MOBJS),$*/STACK:3000,$*/MAP/LI;
-
- bt-dbg.exe: $(COBJS) $(MOBJS)
- LINK /CODEVIEW $(COBJS) $(MOBJS),$*/STACK:3000,$*/MAP/LI;
-
- btctl.exe: $(COBJ1)
- link $(COBJ1), $*/stack:3000,$*/map/li;
- #
- # Dependencies for .C files and compiler line to generate 'em.
- #
-
- $(COBJS): $*.c com.h xfer.h opus.h keybd.h
- cl $(CFLAGS) $*.c
-
- $(COBJ1): $*.c com.h xfer.h opus.h keybd.h
- cl $(CFLAGS) $*.c
- #
- # Modules with special includes here
- #
- timer.obj: timer.h
- sched.obj: sched.h
- mailer.obj: sched.h
- zreceive.obj: zmodem.h
- zsend.obj: zmodem.h
- zmisc.obj: zmodem.h
- #
- # Dependencies for .ASM files and compiler line to generate 'em.
- #
- $(MOBJS): $*.asm
- masm $*;